\documentclass[12pt, twoside, a4paper, headings]{report}
\usepackage{fullpage}
\usepackage{parskip}
\usepackage{graphicx}
\usepackage{url}
\usepackage{mdwlist}
\usepackage[final]{pdfpages}
\usepackage[labelfont=it,textfont=it]{caption}

\newcommand{\bb}{\textbf}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
\addtolength{\oddsidemargin}{0.03\textwidth}
\addtolength{\evensidemargin}{-0.03\textwidth}
%\addtolength{\textwidth}{-0.1\textwidth}
\raggedbottom

\title{Real-time GPU-based 3D Ultrasound Reconstruction and Visualization}
\author{Holger Ludvigsen}

\begin{document}
\pagestyle{empty}
\includepdf[pages={1}]{graphics/cover.pdf}
\cleardoublepage
\includepdf[pages={1}]{graphics/titlepage.pdf}
\cleardoublepage

\chapter*{Abstract}
	\addcontentsline{toc}{chapter}{Abstract}
	\pagestyle{headings}
	\pagenumbering{roman}
	\setcounter{page}{1}
%	\input{text/abstract}
	\cleardoublepage

\chapter*{Acknowledgements}
	\addcontentsline{toc}{chapter}{Acknowledgements}
%	\input{text/acknowledgements}
	\cleardoublepage
	
\chapter*{Problem Description}
	\addcontentsline{toc}{chapter}{Problem Description}
	\input{text/problem_description}
	\cleardoublepage

%\chapter*{Preface}

\tableofcontents
\listoffigures
\listoftables

\cleardoublepage

\chapter{Introduction}
	\pagenumbering{arabic}
	\setcounter{page}{1}
	
	% motivations
	\input{text/introduction/intro}
	
	\section{Goals}
	
		% thesis goals
		\input{text/introduction/goals}
		
	\section{Contributions}
	
		% thesis contributions
		\input{text/introduction/contributions}
	
	\section{Report Outline}
	
		\input{text/introduction/outline}
	
\chapter{General Purpose Computations on GPUs}
	\label{chapter:gpgpu}

	\input{text/gpgpu/intro}
	
	\section{The History and Current State of GPGPU}
	
		% about GPGPUs history and current state
		\input{text/gpgpu/history_current_state}

	\section{OpenCL}
	
		% about OpenCL
		\input{text/gpgpu/opencl}

\chapter{3D Ultrasonography}
	\label{chapter:3d_ultrasonography}
		
	\input{text/3d_ultrasonography/intro}
	
	\section{Medical Ultrasound}
	
		% about 3D ultrasound used in medicine
		\input{text/3d_ultrasonography/medical_ultrasound}
		
	\section{Related Work}

		% presentation of important previous work in the field including that which this thesis directly builds upon in the form of a consequtive text with cites
		\input{text/3d_ultrasonography/related_work}
	
	\section{3D Ultrasound Reconstruction}
	
		\input{text/3d_ultrasonography/reconstruction}
		
	\section{3D Ultrasound Visualization}
	
		\input{text/3d_ultrasonography/visualization}
	
\chapter{Fast GPU Ultrasound Reconstruction}
	\label{chapter:gpu_reconstruction}
	
	\section{Voxel-Based Reconstruction}
	
		% description of how VNN reconstruction on the GPU was done in this thesis
	
	\section{Pixel-Based Reconstruction}
	
		% description of how PNN reconstruction on the GPU was done in this thesis
	
\chapter{Real-Time Incremental Ultrasound Reconstruction}
	\label{chapter:incremental_reconstruction_visualization}
	
	\section{Incremental Pixel-Nearest-Neighbour Reconstruction}
	
		% description of how simple PNN is performed incrementally in real-time on the GPU
	
	\section{Incremental Reconstruction Using Probe Trajectory}
	
		% description how the probe trajectory was adapted to perform incremental high-quality reconstruction in real-time on the GPU
	
	\section{Simultaneous Reconstruction and Visualization}

		% description of how the volume was visualized, and how simultaneous recosntruction and visualization was done on the GPU
	
\chapter{Results and Discussion}
	\label{chapter:results_discussion}

	% presentation of performance and quality of reconstruction and visualization
	% discussion of sorts

\chapter{Conclusion and Future Work}
	\label{chapter:conclusion_future_work}

	% thesis conclusions
	% future work

\nocite{karamalis2009, wein2006, coupe2005, solberg2007, gobbi2002, sherebrin1996, kirk2010, nelson1993, openclspec, wilkinson2005, hearn2004}

\bibliographystyle{plain}
\bibliography{literature}

\appendix

\chapter{Annotated bibliography}
	
	\input{text/appendix/annotated_bib}

%\chapter{Source Code}

\includepdf[pages={2}]{graphics/cover.pdf}

\end{document}